{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}

{% block title %}FastApp - 添加分类{% endblock %}

{% block page_content %}
<div class="page-header">
    <h1>添加分类-{{ app_name }}</h1>
</div>
<div class="col-md-4">
	<form role="form" method="post" action="/addCategory">
		<div class="form-group">
			<label for="name">填写分类名</label>
			<input type="text" class="form-control" placeholder="请输入分类名" name="category_name">
			<input type="hidden" class="form-control" name="app_id" value={{ app_id }}>
			<input type="hidden" class="form-control" name="app_name" value={{ app_name }}>
		</div>
		<button type="submit" class="btn btn-primary btn-margin">确认提交</button>
	</form>
</div>

{% endblock %}